package com.group02.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.owner.ZyOwner;
import com.group02.community.entity.vo.OwnerVO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface OwnerService extends IService<ZyOwner> {

    List<ZyOwner> getAllOwner();

    IPage<ZyOwner> getOwnerPage(Long current, Long size, OwnerVO ownerVO);

    void updateRoomById(String ownerRoomId);

    void uploadExcel(HttpServletResponse response) throws IOException;

    ZyOwner getOwnerInfo(String phoneNumber,String password);
}
